package com.java.star.mall.front.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * jwt核心参数配置类
 */
@Component
@ConfigurationProperties(prefix = "starmall.jwt")
@Data
public class JwtProperties {

    private Long durationInMinute;

    private String secretKey;

}
